export const AFTERSALE_PARENT_STATUS = {
  11: { code: 11, name: '待商家处理' },
  12: { code: 12, name: '待买家处理' },
  13: { code: 13, name: '平台介入' },
  14: { code: 14, name: '售后完成' },
}

export const AFTERSALE_CHILD_STATUS = {
  21: { code: 21, name: '全部', parentCode: '11,12,14' },
  22: { code: 22, name: '未发货仅退款', parentCode: '11,14' },
  23: { code: 23, name: '已发货仅退款', parentCode: '11,14' },
  24: { code: 24, name: '退货退款', parentCode: '11,12,14' },
  25: { code: 25, name: '换货', parentCode: '11,12,14' },
  26: { code: 26, name: '补发', parentCode: '11,12,14' }
}

export const AFTERSALE_DEAL_STATUS = {
  31: { code: 31, name: '已拒绝' },
  32: { code: 32, name: '已退款' },
  33: { code: 33, name: '已换货' },
  34: { code: 34, name: '已补发' },
}

export const AFTERSALE_FILTER_TIME = {
  11: { code: 11, name: '近1个月' },
  12: { code: 12, name: '近3个月' },
  13: { code: 13, name: '近6个月' }
}

export const AFTERSALE_FILTER_TYPE = {
  22: { code: 22, name: '未发货仅退款' },
  23: { code: 23, name: '已发货仅退款' },
  24: { code: 24, name: '退货退款' },
  25: { code: 25, name: '换货' },
  26: { code: 26, name: '补发' }
}

export const AFTERSALE_FILTER_STATUS = {
  31: { code: 31, name: '待审核' },
  32: { code: 32, name: '待买家寄回' },
  33: { code: 33, name: '待商家签收' },
  34: { code: 34, name: '待商家发货' },
  35: { code: 354, name: '待买家签收' },
  36: { code: 36, name: '已完成' }
}